﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ForumLibrary
{
    public enum Message
    {
        Register, Login, Logout, FriendAdded, FriendRemoved, SearchFriend, Notification, ThreadsFrame,
        ThreadAdded, ThreadEdited, ThreadDeleted, PostAdded, PostEdited, PostDeleted, ViewUsers, ViewPosts, ViewThreads
    };
    public interface IObserver
    {
        void update(Message messageType, string message, string param1 = "", string param2 = "", string param3 = "");
    }
}
